package com.example.chatrecommendation.tool;

public class Translation {
    private static final String APP_ID = "20231104001869599";
    private static final String SECURITY_KEY = "g3eUdBotVEoYhw0ea388";

    public String translate(String query) {
        TransApi api = new TransApi(APP_ID, SECURITY_KEY);
        String result = api.getTransResult(query, "auto", "en");
        return result;
    }
}
